-
Home
-
Paymattic – Secure, Simple Payment & Donation with Subscription Payments, Recurring Donations, Customer Management
-
4.6.7
-
Code
-
Classes
- StripeHostedHandler
Total Complexity |
120 |
Dependencies |
18 |
Dependents |
3 |
Total lines |
880 |
Lines of code |
672 |
Logical lines of code |
368 |
Comment lines |
36 |
Methods |
15 |
Properties |
1 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
redirectToStripe() |
B |
33 |
20 |
100 |
handleChargeCaptured() |
B |
32 |
18 |
114 |
getSubscriptionArgs() |
B |
36 |
18 |
82 |
handleCheckoutSessionSuccess() |
B |
35 |
13 |
92 |
getLineItems() |
A |
42 |
10 |
57 |
syncSubscription() |
A |
44 |
6 |
49 |
showSuccessMessage() |
S |
49 |
7 |
29 |
markPaymentSuccess() |
S |
54 |
5 |
21 |
captureAuthorizedAmount() |
S |
53 |
5 |
21 |
maybeSetCancelAt() |
S |
54 |
5 |
20 |
cancelSubscription() |
S |
49 |
3 |
34 |
markPaymentCancel() |
S |
56 |
3 |
18 |
showCancelMessage() |
S |
58 |
3 |
15 |
getIntentMetaData() |
S |
61 |
3 |
13 |
registerHooks() |
S |
66 |
1 |
7 |